import request from '../utils/request'

export function save(params) {
    return request({
        url: '/member/subUser/subUserRegister',
        method: 'post',
        params: params
    })
}

export function switchUser(params) {
    return request({
        url:'/member/subUser/switchUser',
        method:'get',
        params:params
    })
}

export function list(params) {
    return request({
        url: '/member/subUser/list',
        method: 'get',
        params: params
    })
}

export function subUserRegister(params) {
    return request({
        url: '/subUser/subUserRegister',
        method: 'post',
        params: params
    })
}




